package com.bean.entity;

import java.io.Serializable;

/**
 * User: 刘文雄
 * Date:2022/3/28 15:28
 * 父母信息实体类
 */
public class ParentsInfo implements Serializable {
    private Integer id;
    private String name;
    private Integer gender;
    private Long studentId;
    private Long classesId;
    private String nation;
    private String company;
    private String address;
    private String relationship;
    private String graduationName;
    private String occupation;
    private Integer certificateId;
    private String certificateNum;
    private String phone;
    private String password;
    private Integer roleId;

    @Override
    public String toString() {
        return "ParentsInfo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", gender=" + gender +
                ", studentId=" + studentId +
                ", classesId=" + classesId +
                ", nation='" + nation + '\'' +
                ", company='" + company + '\'' +
                ", address='" + address + '\'' +
                ", relationship='" + relationship + '\'' +
                ", graduationName='" + graduationName + '\'' +
                ", occupation='" + occupation + '\'' +
                ", certificateId=" + certificateId +
                ", certificateNum='" + certificateNum + '\'' +
                ", phone='" + phone + '\'' +
                ", password='" + password + '\'' +
                ", roleId=" + roleId +
                '}';
    }

    public ParentsInfo() {
    }

    public ParentsInfo(Integer id) {
        this.id = id;
    }

    public ParentsInfo(String phone, String password) {
        this.phone = phone;
        this.password = password;
    }

    public ParentsInfo(String name, Integer gender, Long studentId, Long classesId, String nation, String company, String address, String relationship, String graduationName, String occupation, Integer certificateId, String certificateNum, String phone, String password, Integer roleId) {
        this.name = name;
        this.gender = gender;
        this.studentId = studentId;
        this.classesId = classesId;
        this.nation = nation;
        this.company = company;
        this.address = address;
        this.relationship = relationship;
        this.graduationName = graduationName;
        this.occupation = occupation;
        this.certificateId = certificateId;
        this.certificateNum = certificateNum;
        this.phone = phone;
        this.password = password;
        this.roleId = roleId;
    }

    public ParentsInfo(Integer id, String name, Integer gender, Long studentId, Long classesId, String nation, String company, String address, String relationship, String graduationName, String occupation, Integer certificateId, String certificateNum, String phone, String password, Integer roleId) {
        this.id = id;
        this.name = name;
        this.gender = gender;
        this.studentId = studentId;
        this.classesId = classesId;
        this.nation = nation;
        this.company = company;
        this.address = address;
        this.relationship = relationship;
        this.graduationName = graduationName;
        this.occupation = occupation;
        this.certificateId = certificateId;
        this.certificateNum = certificateNum;
        this.phone = phone;
        this.password = password;
        this.roleId = roleId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public Long getClassesId() {
        return classesId;
    }

    public void setClassesId(Long classesId) {
        this.classesId = classesId;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRelationship() {
        return relationship;
    }

    public void setRelationship(String relationship) {
        this.relationship = relationship;
    }

    public String getGraduationName() {
        return graduationName;
    }

    public void setGraduationName(String graduationName) {
        this.graduationName = graduationName;
    }

    public String getOccupation() {
        return occupation;
    }

    public void setOccupation(String occupation) {
        this.occupation = occupation;
    }

    public Integer getCertificateId() {
        return certificateId;
    }

    public void setCertificateId(Integer certificateId) {
        this.certificateId = certificateId;
    }

    public String getCertificateNum() {
        return certificateNum;
    }

    public void setCertificateNum(String certificateNum) {
        this.certificateNum = certificateNum;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }
}
